﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Models
{
    //余额记录表
    public class BalanceRecord:BaseEntity
    {
        /// <summary>
        /// 用户余额Id
        /// </summary>
        [MaxLength(36)]
        public string UserbalanceId { get; set; }
        /// <summary>
        /// 余额记录
        /// </summary>
        public int Balance { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [MaxLength(64)]
        public string Description { get; set; }
        /// <summary>
        /// 操作类型
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 添加人Id
        /// </summary>
        [MaxLength(36)]
        public string Creator { get; set; }
        /// <summary>
        /// 订单Id
        /// </summary>
        [MaxLength(36)]
        public string OrderId { get; set; }
    }
}
